From 5cf591e8c63b0c0533d5d6372554ae120ac838f1 Mon Sep 17 00:00:00 2001 From: Andreas Beckmann Date: Tue, 23 Nov 2021 18:21:16 +0100 Subject: [PATCH] [PATCH 132/144] tests: emit "OK" along EXIT_SUCCESS Gbp-Pq: Name 0132-tests-emit-OK-along-EXIT_SUCCESS.patch --- tests/regression/test_alignment_with_dynamic_wg2.cpp | 1 + .../test_assign_loop_variable_to_privvar_makes_it_local.c | 2 ++ tests/regression/test_autolocals_in_constexprs.cpp | 1 + tests/regression/test_barrier_before_return.cpp | 4 +++- tests/regression/test_barrier_between_for_loops.cpp | 4 +++- tests/regression/test_constant_array.cpp | 2 ++ tests/regression/test_early_return.cpp | 4 +++- tests/regression/test_flatten_barrier_subs.cpp | 1 + tests/regression/test_flatten_barrier_subs.output | 1 + tests/regression/test_for_with_var_iteration_count.cpp | 4 +++- tests/regression/test_fors_with_var_iteration_counts.cpp | 1 + tests/regression/test_id_dependent_computation.cpp | 4 +++- tests/regression/test_infinite_loop.cpp | 2 ++ tests/regression/test_issue_231.cpp | 1 + tests/regression/test_issue_445.cpp | 1 + tests/regression/test_issue_553.cpp | 1 + tests/regression/test_issue_757.cpp | 1 + tests/regression/test_issue_893.cpp | 3 +++ tests/regression/test_locals.cpp | 1 + tests/regression/test_loop_phi_replication.cpp | 4 +++- tests/regression/test_multi_level_loops_with_barriers.cpp | 4 +++- tests/regression/test_null_arg.cpp | 4 +++- tests/regression/test_program_from_binary_with_local_1_1_1.c | 1 + tests/regression/test_setargs.cpp | 1 + tests/regression/test_simple_for_with_a_barrier.cpp | 4 +++- tests/regression/test_structs_as_args.cpp | 4 +++- tests/regression/test_undominated_variable.cpp | 4 +++- tests/regression/test_vectors_as_args.cpp | 4 +++- tests/runtime/test_buffer-image-copy.c | 2 ++ tests/runtime/test_clCreateProgramWithBinary.c | 1 + tests/runtime/test_clEnqueueNativeKernel.c | 1 + tests/runtime/test_clGetSupportedImageFormats.c | 1 + tests/runtime/test_clSetEventCallback.c | 2 +- tests/runtime/test_clSetEventCallback_expout.txt | 1 + tests/runtime/test_enqueue_kernel_from_binary.c | 1 + tests/runtime/test_event_cycle.c | 2 ++ tests/runtime/test_event_double_wait.c | 2 +- tests/runtime/test_event_free.c | 2 +- tests/runtime/test_fill-buffer.c | 1 + tests/runtime/test_link_error.c | 1 + tests/runtime/test_read-copy-write-buffer.c | 1 + tests/runtime/test_user_event.c | 2 +- tests/workgroup/basic_barriers_2_2_2_2.stdout | 1 + tests/workgroup/cond_barriers_1_2_1_1.stdout | 1 + tests/workgroup/cond_barriers_in_for_2_4_1_1.stdout | 1 + tests/workgroup/for_bug_1_2_1_1.stdout | 1 + tests/workgroup/for_with_divergent_return_1_6_1_1.stdout | 1 + tests/workgroup/forloops_2_2_1_1.stdout | 1 + tests/workgroup/implicit_barriers_1_2_1_1.stdout | 1 + tests/workgroup/issue_548_1_2_1_1.stdout | 1 + tests/workgroup/loopbarriers_1_4_1_1.stdout | 1 + tests/workgroup/multilatch_bloop_1_3_1_1.stdout | 1 + tests/workgroup/outerlooppar_2_2_1_1.stdout | 1 + tests/workgroup/print_all_ids_114114.txt | 1 + tests/workgroup/range_md.stdout | 1 + tests/workgroup/range_md_small_grid.stdout | 1 + tests/workgroup/run_kernel.c | 1 + tests/workgroup/switch_case_1_4_1_1.stdout | 1 + tests/workgroup/tricky_for_1_2_1_1.stdout | 1 + 59 files changed, 90 insertions(+), 16 deletions(-) diff --git a/tests/regression/test_alignment_with_dynamic_wg2.cpp b/tests/regression/test_alignment_with_dynamic_wg2.cpp index 76d48d5..70330a9 100644 --- a/tests/regression/test_alignment_with_dynamic_wg2.cpp +++ b/tests/regression/test_alignment_with_dynamic_wg2.cpp @@ -83,5 +83,6 @@ int main(int argc, char *argv[]) { printf("Value: %le \n", out[1]); printf("Value: %le \n", out[2]); + printf("OK\n"); return EXIT_SUCCESS; } diff --git a/tests/regression/test_assign_loop_variable_to_privvar_makes_it_local.c b/tests/regression/test_assign_loop_variable_to_privvar_makes_it_local.c index 5812b86..a3ca02b 100644 --- a/tests/regression/test_assign_loop_variable_to_privvar_makes_it_local.c +++ b/tests/regression/test_assign_loop_variable_to_privvar_makes_it_local.c @@ -25,6 +25,7 @@ #include #include "poclu.h" +#include #include #include @@ -87,6 +88,7 @@ int main() { if (ret == 0) { + printf ("OK\n"); return EXIT_SUCCESS; } return EXIT_FAILURE; diff --git a/tests/regression/test_autolocals_in_constexprs.cpp b/tests/regression/test_autolocals_in_constexprs.cpp index 9be452c..fed14b8 100644 --- a/tests/regression/test_autolocals_in_constexprs.cpp +++ b/tests/regression/test_autolocals_in_constexprs.cpp @@ -110,5 +110,6 @@ main(void) return EXIT_FAILURE; } + std::cout << "OK" << std::endl; return EXIT_SUCCESS; } diff --git a/tests/regression/test_barrier_before_return.cpp b/tests/regression/test_barrier_before_return.cpp index 433048c..bc9404f 100644 --- a/tests/regression/test_barrier_before_return.cpp +++ b/tests/regression/test_barrier_before_return.cpp @@ -145,8 +145,10 @@ main(void) queue.finish(); platformList[0].unloadCompiler(); - if (ok) + if (ok) { + std::cout << "OK" << std::endl; return EXIT_SUCCESS; + } } catch (cl::Error &err) { std::cerr diff --git a/tests/regression/test_barrier_between_for_loops.cpp b/tests/regression/test_barrier_between_for_loops.cpp index b79c9c7..0b6284b 100644 --- a/tests/regression/test_barrier_between_for_loops.cpp +++ b/tests/regression/test_barrier_between_for_loops.cpp @@ -183,8 +183,10 @@ main(void) queue.finish(); platformList[0].unloadCompiler(); - if (ok) + if (ok) { + std::cout << "OK" << std::endl; return EXIT_SUCCESS; + } } catch (cl::Error &err) { std::cerr diff --git a/tests/regression/test_constant_array.cpp b/tests/regression/test_constant_array.cpp index d9ebdd4..bd65a9d 100644 --- a/tests/regression/test_constant_array.cpp +++ b/tests/regression/test_constant_array.cpp @@ -122,6 +122,8 @@ main(void) /* The call should return cleanly, the compiler should not crash. */ + std::cout << "OK" << std::endl; + /* Force exit of the process regardless of the running kernel thread by replacing the process with a dummy process. */ execlp("true", "true", NULL); diff --git a/tests/regression/test_early_return.cpp b/tests/regression/test_early_return.cpp index 06e17d0..4982e40 100644 --- a/tests/regression/test_early_return.cpp +++ b/tests/regression/test_early_return.cpp @@ -141,8 +141,10 @@ main(void) queue.finish(); platformList[0].unloadCompiler(); - if (ok) + if (ok) { + std::cout << "OK" << std::endl; return EXIT_SUCCESS; + } } catch (cl::Error &err) { std::cerr diff --git a/tests/regression/test_flatten_barrier_subs.cpp b/tests/regression/test_flatten_barrier_subs.cpp index f8bc7a3..44152b2 100644 --- a/tests/regression/test_flatten_barrier_subs.cpp +++ b/tests/regression/test_flatten_barrier_subs.cpp @@ -243,5 +243,6 @@ int main() return EXIT_FAILURE; } + std::cout << "OK" << std::endl; return EXIT_SUCCESS; } diff --git a/tests/regression/test_flatten_barrier_subs.output b/tests/regression/test_flatten_barrier_subs.output index 29b9b0c..d74d8b3 100644 --- a/tests/regression/test_flatten_barrier_subs.output +++ b/tests/regression/test_flatten_barrier_subs.output @@ -2,3 +2,4 @@ 0, 1, 1, 2, 3, 4, 5, 5, 5, 6, 7, 7, 8, 8, 9, 10, 10, 10, 10, 10, 10, 11, 11, 12, 13, 13, 13, 13, 14, 15, 16, 17, 17, 17, 17, 18, 19, 20, 20, 21, 21, 22, 23, 24, 25, 25, 26, 26, 26, 27, 27, 28, 28, 29, 29, 29, 30, 30, 30, 30, 31, 32, 33, 33, 34, 34, 35, 35, 36, 37, 38, 38, 39, 39, 40, 40, 41, 41, 41, 42, 42, 43, 43, 43, 43, 43, 43, 44, 45, 45, 46, 46, 46, 46, 46, 47, 47, 47, 47, 47 0: Portable Computing Language CL gave correct results +OK diff --git a/tests/regression/test_for_with_var_iteration_count.cpp b/tests/regression/test_for_with_var_iteration_count.cpp index cb59986..ad292bb 100644 --- a/tests/regression/test_for_with_var_iteration_count.cpp +++ b/tests/regression/test_for_with_var_iteration_count.cpp @@ -150,8 +150,10 @@ main(void) queue.finish(); platformList[0].unloadCompiler(); - if (ok) + if (ok) { + std::cout << "OK" << std::endl; return EXIT_SUCCESS; + } } catch (cl::Error &err) { std::cerr diff --git a/tests/regression/test_fors_with_var_iteration_counts.cpp b/tests/regression/test_fors_with_var_iteration_counts.cpp index 09ab13e..c68076b 100644 --- a/tests/regression/test_fors_with_var_iteration_counts.cpp +++ b/tests/regression/test_fors_with_var_iteration_counts.cpp @@ -139,6 +139,7 @@ main(void) platformList[0].unloadCompiler(); // If the kernel compiler succeeds, we are happy for now. + std::cout << "OK" << std::endl; return EXIT_SUCCESS; } catch (cl::Error &err) { diff --git a/tests/regression/test_id_dependent_computation.cpp b/tests/regression/test_id_dependent_computation.cpp index 7adcab4..3e5a0af 100644 --- a/tests/regression/test_id_dependent_computation.cpp +++ b/tests/regression/test_id_dependent_computation.cpp @@ -165,8 +165,10 @@ main(void) queue.finish(); platformList[0].unloadCompiler(); - if (ok) + if (ok) { + std::cout << "OK" << std::endl; return EXIT_SUCCESS; + } } catch (cl::Error &err) { std::cerr diff --git a/tests/regression/test_infinite_loop.cpp b/tests/regression/test_infinite_loop.cpp index 9ea7a4b..22ac005 100644 --- a/tests/regression/test_infinite_loop.cpp +++ b/tests/regression/test_infinite_loop.cpp @@ -117,6 +117,8 @@ main(void) /* The call should return cleanly, the compiler should not crash. */ + std::cout << "OK" << std::endl; + /* Force exit of the process regardless of the running kernel thread by replacing the process with a dummy process. */ execlp("true", "true", NULL); diff --git a/tests/regression/test_issue_231.cpp b/tests/regression/test_issue_231.cpp index ee4c45e..adfa8b6 100644 --- a/tests/regression/test_issue_231.cpp +++ b/tests/regression/test_issue_231.cpp @@ -101,5 +101,6 @@ int main(int argc, char *argv[]) queue.finish(); cl::Platform::getDefault().unloadCompiler(); + std::cout << "OK" << std::endl; return EXIT_SUCCESS; } diff --git a/tests/regression/test_issue_445.cpp b/tests/regression/test_issue_445.cpp index e8acb8e..717f47b 100644 --- a/tests/regression/test_issue_445.cpp +++ b/tests/regression/test_issue_445.cpp @@ -64,6 +64,7 @@ int main(int, char **) } if (success) { + std::cout << "OK" << std::endl; return EXIT_SUCCESS; } return EXIT_FAILURE; diff --git a/tests/regression/test_issue_553.cpp b/tests/regression/test_issue_553.cpp index 9dada2d..ca612ce 100644 --- a/tests/regression/test_issue_553.cpp +++ b/tests/regression/test_issue_553.cpp @@ -73,5 +73,6 @@ int main(int argc, char *argv[]) queue.finish(); cl::Platform::getDefault().unloadCompiler(); + std::cout << "OK" << std::endl; return EXIT_SUCCESS; } diff --git a/tests/regression/test_issue_757.cpp b/tests/regression/test_issue_757.cpp index 2e27f70..f680595 100644 --- a/tests/regression/test_issue_757.cpp +++ b/tests/regression/test_issue_757.cpp @@ -71,5 +71,6 @@ int main(int argc, char *argv[]) { } } + std::cout << "OK" << std::endl; return EXIT_SUCCESS; } diff --git a/tests/regression/test_issue_893.cpp b/tests/regression/test_issue_893.cpp index 464c4c5..d742b9a 100644 --- a/tests/regression/test_issue_893.cpp +++ b/tests/regression/test_issue_893.cpp @@ -39,6 +39,7 @@ #define CL_HPP_MINIMUM_OPENCL_VERSION 120 #define CL_HPP_TARGET_OPENCL_VERSION 120 #include +#include const char *SOURCE = R"RAW( #define lid(N) ((int) get_local_id(N)) @@ -78,5 +79,7 @@ int main() { cl::NDRange(n), cl::NDRange(n)); queue.finish(); + + std::cout << "OK" << std::endl; return EXIT_SUCCESS; } diff --git a/tests/regression/test_locals.cpp b/tests/regression/test_locals.cpp index e4d37f0..4ebb64b 100644 --- a/tests/regression/test_locals.cpp +++ b/tests/regression/test_locals.cpp @@ -139,6 +139,7 @@ main(void) platformList[0].unloadCompiler(); if (success) { + std::cout << "OK" << std::endl; return EXIT_SUCCESS; } } diff --git a/tests/regression/test_loop_phi_replication.cpp b/tests/regression/test_loop_phi_replication.cpp index e3d33f0..c5ecd07 100644 --- a/tests/regression/test_loop_phi_replication.cpp +++ b/tests/regression/test_loop_phi_replication.cpp @@ -149,8 +149,10 @@ main(void) queue.finish(); platformList[0].unloadCompiler(); - if (ok) + if (ok) { + std::cout << "OK" << std::endl; return EXIT_SUCCESS; + } } catch (cl::Error &err) { std::cerr diff --git a/tests/regression/test_multi_level_loops_with_barriers.cpp b/tests/regression/test_multi_level_loops_with_barriers.cpp index 67d5543..506552b 100644 --- a/tests/regression/test_multi_level_loops_with_barriers.cpp +++ b/tests/regression/test_multi_level_loops_with_barriers.cpp @@ -159,8 +159,10 @@ main(void) queue.finish(); platformList[0].unloadCompiler(); - if (ok) + if (ok) { + std::cout << "OK" << std::endl; return EXIT_SUCCESS; + } } catch (cl::Error &err) { std::cerr diff --git a/tests/regression/test_null_arg.cpp b/tests/regression/test_null_arg.cpp index 6e99881..beea2a8 100644 --- a/tests/regression/test_null_arg.cpp +++ b/tests/regression/test_null_arg.cpp @@ -134,8 +134,10 @@ main(void) queue.finish(); platformList[0].unloadCompiler(); - if (ok) + if (ok) { + std::cout << "OK" << std::endl; return EXIT_SUCCESS; + } } catch (cl::Error &err) { std::cerr diff --git a/tests/regression/test_program_from_binary_with_local_1_1_1.c b/tests/regression/test_program_from_binary_with_local_1_1_1.c index 33abbdd..9ee35a6 100644 --- a/tests/regression/test_program_from_binary_with_local_1_1_1.c +++ b/tests/regression/test_program_from_binary_with_local_1_1_1.c @@ -146,5 +146,6 @@ int main () clReleaseDevice(device); clUnloadPlatformCompiler(platform); + printf ("OK\n"); return EXIT_SUCCESS; } diff --git a/tests/regression/test_setargs.cpp b/tests/regression/test_setargs.cpp index a304160..dd64db0 100644 --- a/tests/regression/test_setargs.cpp +++ b/tests/regression/test_setargs.cpp @@ -134,5 +134,6 @@ main(void) return EXIT_FAILURE; } + std::cout << "OK" << std::endl; return EXIT_SUCCESS; } diff --git a/tests/regression/test_simple_for_with_a_barrier.cpp b/tests/regression/test_simple_for_with_a_barrier.cpp index 29cc069..1c3117a 100644 --- a/tests/regression/test_simple_for_with_a_barrier.cpp +++ b/tests/regression/test_simple_for_with_a_barrier.cpp @@ -154,8 +154,10 @@ main(void) queue.finish(); platformList[0].unloadCompiler(); - if (ok) + if (ok) { + std::cout << "OK" << std::endl; return EXIT_SUCCESS; + } } catch (cl::Error &err) { std::cerr diff --git a/tests/regression/test_structs_as_args.cpp b/tests/regression/test_structs_as_args.cpp index da3c254..fdeca7b 100644 --- a/tests/regression/test_structs_as_args.cpp +++ b/tests/regression/test_structs_as_args.cpp @@ -278,8 +278,10 @@ main(void) queue.finish(); platformList[0].unloadCompiler(); - if (ok) + if (ok) { + std::cout << "OK" << std::endl; return EXIT_SUCCESS; + } } catch (cl::Error &err) { std::cerr diff --git a/tests/regression/test_undominated_variable.cpp b/tests/regression/test_undominated_variable.cpp index 29770f1..476b717 100644 --- a/tests/regression/test_undominated_variable.cpp +++ b/tests/regression/test_undominated_variable.cpp @@ -152,8 +152,10 @@ main(void) queue.finish(); platformList[0].unloadCompiler(); - if (ok) + if (ok) { + std::cout << "OK" << std::endl; return EXIT_SUCCESS; + } } catch (cl::Error &err) { std::cerr diff --git a/tests/regression/test_vectors_as_args.cpp b/tests/regression/test_vectors_as_args.cpp index 98771fb..4636439 100644 --- a/tests/regression/test_vectors_as_args.cpp +++ b/tests/regression/test_vectors_as_args.cpp @@ -169,8 +169,10 @@ int main() { queue.finish(); platformList[0].unloadCompiler(); - if (ok) + if (ok) { + std::cout << "OK" << std::endl; return EXIT_SUCCESS; + } } catch (cl::Error &err) { std::cerr diff --git a/tests/runtime/test_buffer-image-copy.c b/tests/runtime/test_buffer-image-copy.c index ba1af42..e659fe7 100644 --- a/tests/runtime/test_buffer-image-copy.c +++ b/tests/runtime/test_buffer-image-copy.c @@ -203,5 +203,7 @@ main(void) } CHECK_CL_ERROR (clUnloadCompiler ()); + + printf ("OK\n"); return EXIT_SUCCESS; } diff --git a/tests/runtime/test_clCreateProgramWithBinary.c b/tests/runtime/test_clCreateProgramWithBinary.c index 0a5e0c8..b560ddc 100644 --- a/tests/runtime/test_clCreateProgramWithBinary.c +++ b/tests/runtime/test_clCreateProgramWithBinary.c @@ -188,6 +188,7 @@ main(void){ if (err == CL_SUCCESS) { + printf ("OK\n"); return EXIT_SUCCESS; } return EXIT_FAILURE; diff --git a/tests/runtime/test_clEnqueueNativeKernel.c b/tests/runtime/test_clEnqueueNativeKernel.c index 4927eb0..f123291 100644 --- a/tests/runtime/test_clEnqueueNativeKernel.c +++ b/tests/runtime/test_clEnqueueNativeKernel.c @@ -139,6 +139,7 @@ int main(int argc, char **argv) { free(h_b); free(h_c); + printf ("OK\n"); return EXIT_SUCCESS; error: diff --git a/tests/runtime/test_clGetSupportedImageFormats.c b/tests/runtime/test_clGetSupportedImageFormats.c index bf80bbc..e1e0e9e 100644 --- a/tests/runtime/test_clGetSupportedImageFormats.c +++ b/tests/runtime/test_clGetSupportedImageFormats.c @@ -49,5 +49,6 @@ main(void) CHECK_CL_ERROR (clUnloadCompiler ()); + printf ("OK\n"); return EXIT_SUCCESS; } diff --git a/tests/runtime/test_clSetEventCallback.c b/tests/runtime/test_clSetEventCallback.c index 2dd0da0..284347f 100644 --- a/tests/runtime/test_clSetEventCallback.c +++ b/tests/runtime/test_clSetEventCallback.c @@ -162,6 +162,6 @@ int main() CHECK_CL_ERROR (clReleaseContext (context)); CHECK_CL_ERROR (clUnloadCompiler ()); + printf ("OK\n"); return EXIT_SUCCESS; - } diff --git a/tests/runtime/test_clSetEventCallback_expout.txt b/tests/runtime/test_clSetEventCallback_expout.txt index 1e54c4e..3e8ac37 100644 --- a/tests/runtime/test_clSetEventCallback_expout.txt +++ b/tests/runtime/test_clSetEventCallback_expout.txt @@ -1,3 +1,4 @@ Callback function: event status: CL_SUBMITTED Callback function: event status: CL_RUNNING Callback function: event status: CL_COMPLETE +OK diff --git a/tests/runtime/test_enqueue_kernel_from_binary.c b/tests/runtime/test_enqueue_kernel_from_binary.c index 8259af9..38fc096 100644 --- a/tests/runtime/test_enqueue_kernel_from_binary.c +++ b/tests/runtime/test_enqueue_kernel_from_binary.c @@ -439,5 +439,6 @@ int main(void) if (errors) return EXIT_FAILURE; + printf ("OK\n"); return EXIT_SUCCESS; } diff --git a/tests/runtime/test_event_cycle.c b/tests/runtime/test_event_cycle.c index dc36f0e..3a392f0 100644 --- a/tests/runtime/test_event_cycle.c +++ b/tests/runtime/test_event_cycle.c @@ -140,5 +140,7 @@ main(void) CHECK_CL_ERROR (clUnloadCompiler ()); #endif + + printf ("OK\n"); return EXIT_SUCCESS; } diff --git a/tests/runtime/test_event_double_wait.c b/tests/runtime/test_event_double_wait.c index 7612b93..996b842 100644 --- a/tests/runtime/test_event_double_wait.c +++ b/tests/runtime/test_event_double_wait.c @@ -65,8 +65,8 @@ int main(int argc, char **argv) CHECK_CL_ERROR (clReleaseContext (ctx)); CHECK_CL_ERROR (clUnloadCompiler ()); + printf ("OK\n"); return EXIT_SUCCESS; - } diff --git a/tests/runtime/test_event_free.c b/tests/runtime/test_event_free.c index ffed030..48aba92 100644 --- a/tests/runtime/test_event_free.c +++ b/tests/runtime/test_event_free.c @@ -230,8 +230,8 @@ int main(int argc, char **argv) CHECK_CL_ERROR (clUnloadCompiler ()); + printf ("OK\n"); return EXIT_SUCCESS; - } diff --git a/tests/runtime/test_fill-buffer.c b/tests/runtime/test_fill-buffer.c index 02b75fc..cf20f7f 100644 --- a/tests/runtime/test_fill-buffer.c +++ b/tests/runtime/test_fill-buffer.c @@ -153,5 +153,6 @@ main (void) CHECK_CL_ERROR (clUnloadCompiler ()); + printf ("OK\n"); return EXIT_SUCCESS; } diff --git a/tests/runtime/test_link_error.c b/tests/runtime/test_link_error.c index dc3923a..c417532 100644 --- a/tests/runtime/test_link_error.c +++ b/tests/runtime/test_link_error.c @@ -67,5 +67,6 @@ main(void){ CHECK_CL_ERROR (clUnloadCompiler ()); + printf ("OK\n"); return EXIT_SUCCESS; } diff --git a/tests/runtime/test_read-copy-write-buffer.c b/tests/runtime/test_read-copy-write-buffer.c index 3aa6f41..5951490 100644 --- a/tests/runtime/test_read-copy-write-buffer.c +++ b/tests/runtime/test_read-copy-write-buffer.c @@ -137,5 +137,6 @@ main(void) CHECK_CL_ERROR (clUnloadCompiler ()); + printf ("OK\n"); return EXIT_SUCCESS; } diff --git a/tests/runtime/test_user_event.c b/tests/runtime/test_user_event.c index c24d609..551a46e 100644 --- a/tests/runtime/test_user_event.c +++ b/tests/runtime/test_user_event.c @@ -83,6 +83,6 @@ int main() CHECK_CL_ERROR (clUnloadCompiler ()); + printf ("OK\n"); return EXIT_SUCCESS; - } diff --git a/tests/workgroup/basic_barriers_2_2_2_2.stdout b/tests/workgroup/basic_barriers_2_2_2_2.stdout index 3f04e02..0338d8b 100644 --- a/tests/workgroup/basic_barriers_2_2_2_2.stdout +++ b/tests/workgroup/basic_barriers_2_2_2_2.stdout @@ -46,3 +46,4 @@ 3 0 1: after barriers 2 1 1: after barriers 3 1 1: after barriers +OK diff --git a/tests/workgroup/cond_barriers_1_2_1_1.stdout b/tests/workgroup/cond_barriers_1_2_1_1.stdout index fbc7637..3df3a1a 100644 --- a/tests/workgroup/cond_barriers_1_2_1_1.stdout +++ b/tests/workgroup/cond_barriers_1_2_1_1.stdout @@ -4,3 +4,4 @@ LOCAL_ID=0 inside if LOCAL_ID=1 inside if LOCAL_ID=0 after if LOCAL_ID=1 after if +OK diff --git a/tests/workgroup/cond_barriers_in_for_2_4_1_1.stdout b/tests/workgroup/cond_barriers_in_for_2_4_1_1.stdout index 3421353..0c22951 100644 --- a/tests/workgroup/cond_barriers_in_for_2_4_1_1.stdout +++ b/tests/workgroup/cond_barriers_in_for_2_4_1_1.stdout @@ -6,3 +6,4 @@ 5: 17 6: 18 7: 19 +OK diff --git a/tests/workgroup/for_bug_1_2_1_1.stdout b/tests/workgroup/for_bug_1_2_1_1.stdout index baeb8ec..b3851d4 100644 --- a/tests/workgroup/for_bug_1_2_1_1.stdout +++ b/tests/workgroup/for_bug_1_2_1_1.stdout @@ -31,3 +31,4 @@ gid_x 1 after barrier at iteration 2 gid_x 0 after barrier at iteration 1 gid_x 1 after barrier at iteration 1 OK +OK diff --git a/tests/workgroup/for_with_divergent_return_1_6_1_1.stdout b/tests/workgroup/for_with_divergent_return_1_6_1_1.stdout index 344aae1..a43dede 100644 --- a/tests/workgroup/for_with_divergent_return_1_6_1_1.stdout +++ b/tests/workgroup/for_with_divergent_return_1_6_1_1.stdout @@ -4,3 +4,4 @@ 3: -2 4: 100 5: 100 +OK diff --git a/tests/workgroup/forloops_2_2_1_1.stdout b/tests/workgroup/forloops_2_2_1_1.stdout index afc5a30..9e3dab3 100644 --- a/tests/workgroup/forloops_2_2_1_1.stdout +++ b/tests/workgroup/forloops_2_2_1_1.stdout @@ -2,3 +2,4 @@ 1: 1 2: 2 3: 3 +OK diff --git a/tests/workgroup/implicit_barriers_1_2_1_1.stdout b/tests/workgroup/implicit_barriers_1_2_1_1.stdout index 02bf5ba..f4d157d 100644 --- a/tests/workgroup/implicit_barriers_1_2_1_1.stdout +++ b/tests/workgroup/implicit_barriers_1_2_1_1.stdout @@ -8,3 +8,4 @@ LOCAL_ID=0 inside for, iteration 1, value 1 LOCAL_ID=1 inside for, iteration 1, value 1 LOCAL_ID=0 after if LOCAL_ID=1 after if +OK diff --git a/tests/workgroup/issue_548_1_2_1_1.stdout b/tests/workgroup/issue_548_1_2_1_1.stdout index e9a4cfc..d26d71b 100644 --- a/tests/workgroup/issue_548_1_2_1_1.stdout +++ b/tests/workgroup/issue_548_1_2_1_1.stdout @@ -6,3 +6,4 @@ id=1: CCC. auxfunc id=0: EEE. id=1: EEE. +OK diff --git a/tests/workgroup/loopbarriers_1_4_1_1.stdout b/tests/workgroup/loopbarriers_1_4_1_1.stdout index a61b0fe..5036181 100644 --- a/tests/workgroup/loopbarriers_1_4_1_1.stdout +++ b/tests/workgroup/loopbarriers_1_4_1_1.stdout @@ -2,3 +2,4 @@ 1: 2002 2: 3002 3: 2 +OK diff --git a/tests/workgroup/multilatch_bloop_1_3_1_1.stdout b/tests/workgroup/multilatch_bloop_1_3_1_1.stdout index 5fdfcde..0e08824 100644 --- a/tests/workgroup/multilatch_bloop_1_3_1_1.stdout +++ b/tests/workgroup/multilatch_bloop_1_3_1_1.stdout @@ -16,3 +16,4 @@ i:1 1 0 0 after latch 1 i:1 2 0 0 after barrier i:1 2 0 0 after latch 1 i:1 2 0 0 after latch 2 +OK diff --git a/tests/workgroup/outerlooppar_2_2_1_1.stdout b/tests/workgroup/outerlooppar_2_2_1_1.stdout index abdf59c..9a79b23 100644 --- a/tests/workgroup/outerlooppar_2_2_1_1.stdout +++ b/tests/workgroup/outerlooppar_2_2_1_1.stdout @@ -24,3 +24,4 @@ i: 0 gid: 2 i: 1 gid: 2 i: 0 gid: 3 i: 1 gid: 3 +OK diff --git a/tests/workgroup/print_all_ids_114114.txt b/tests/workgroup/print_all_ids_114114.txt index 9bb138d..f25640e 100644 --- a/tests/workgroup/print_all_ids_114114.txt +++ b/tests/workgroup/print_all_ids_114114.txt @@ -1,3 +1,4 @@ +OK global: 0-0-0 global: 0-0-1 global: 0-0-2 diff --git a/tests/workgroup/range_md.stdout b/tests/workgroup/range_md.stdout index 89e85a8..18f19c1 100644 --- a/tests/workgroup/range_md.stdout +++ b/tests/workgroup/range_md.stdout @@ -9,3 +9,4 @@ 7: 0 8: 0 9: 0 +OK diff --git a/tests/workgroup/range_md_small_grid.stdout b/tests/workgroup/range_md_small_grid.stdout index 4550dec..fd55a10 100644 --- a/tests/workgroup/range_md_small_grid.stdout +++ b/tests/workgroup/range_md_small_grid.stdout @@ -11,3 +11,4 @@ 10: 0 11: 0 12: 0 +OK diff --git a/tests/workgroup/run_kernel.c b/tests/workgroup/run_kernel.c index f8d4b95..92ef7f0 100644 --- a/tests/workgroup/run_kernel.c +++ b/tests/workgroup/run_kernel.c @@ -152,6 +152,7 @@ ERROR: if (err == CL_SUCCESS) { + printf ("OK\n"); return EXIT_SUCCESS; } return EXIT_FAILURE; diff --git a/tests/workgroup/switch_case_1_4_1_1.stdout b/tests/workgroup/switch_case_1_4_1_1.stdout index 15882c2..c1bef1e 100644 --- a/tests/workgroup/switch_case_1_4_1_1.stdout +++ b/tests/workgroup/switch_case_1_4_1_1.stdout @@ -2,3 +2,4 @@ 1: 101 2: 99 3: 303 +OK diff --git a/tests/workgroup/tricky_for_1_2_1_1.stdout b/tests/workgroup/tricky_for_1_2_1_1.stdout index 7b6f3ce..4b4b5ee 100644 --- a/tests/workgroup/tricky_for_1_2_1_1.stdout +++ b/tests/workgroup/tricky_for_1_2_1_1.stdout @@ -1,2 +1,3 @@ 0: 1000 1: 2000 +OK -- 2.30.2